Occurs when the chart data grid has changed.
Syntax
Private Sub object_DataUpdated (row As Integer, column As Integer, labelRow As Integer, labelColumn As Integer, labelSetIndex As Integer, updateFlags As Integer)
The DataUpdated event syntax has these parts:
Part | Description |
object | An object expression that evaluates to an object in the Applies To list. |
row | Integer. Indicates the row in the data grid. |
column | Integer. Indicates the column in the datagrid. |
labelRow | Integer. Indicates the row label. |
labelColumn | Integer. Indicates the column label. |
labelSetIndex | Integer. Identifies the level of labels. Levels of labels are numbered from the axis out, beginning with 1. |
updateFlags | Integer. Provides information about the update of the data, as described in Settings. |
Settings
The following table lists the constants for updateFlags.
Constant | Description |
VtChNoDisplay | Absence of update flags; the chart display is not affected. (Defined as 0.) |
VtChDisplayPlot | Update will cause the plot to repaint. |
VtChLayoutPlot | Update will cause the plot to lay out. |
VtChDisplayLegend | Update will cause the legend to repaint. |
VtChLayoutLegend | Update will cause the legend to lay out. |
VtChLayoutSeries | Update will cause the series to lay out. |
VtChPositionSection | A chart section has been moved or resized. |
Remarks
If row and column are nonzero, the change occurs to the indicated data cell. If labelRow or labelColumn, along with labelSetIndex, are nonzero, the indicated row or column label changes. If none of these are nonzero, no specific information about the change is available.